package com.vcredit.creditcat.persistence.base;

import com.vcredit.creditcat.model.AuthPersonalInfo;
import com.vcredit.framework.pagination.DefaultCriteria;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface AuthPersonalInfoMapper {
	void insert(AuthPersonalInfo obj);

	void update(AuthPersonalInfo obj);

	List<AuthPersonalInfo> findAll();

	List<AuthPersonalInfo> find(AuthPersonalInfo obj);

	AuthPersonalInfo findById(Long id);

	AuthPersonalInfo findByProcessId(Long processId);

	List<AuthPersonalInfo> findByPage(DefaultCriteria criteria);

	AuthPersonalInfo findByCustIdandProcessId(@Param("custId") Long custId, @Param("processId") Long processId);
}
